package net.atomarrow.db.parser.batch;

import java.util.List;

public class BatchSqlHolder {

    private String sql;
    private List<BatchSetter> batchSetters;
    private List<String> sqls;
    private boolean multiValues;

    public BatchSqlHolder() {
    }

    public BatchSqlHolder(String sql, List<BatchSetter> batchSetters,boolean multiValues) {
        this.sql = sql;
        this.multiValues = multiValues;
        this.batchSetters = batchSetters;
    }

    public BatchSqlHolder(List<String> sqls, boolean multiValues) {
        this.sqls = sqls;
        this.multiValues = multiValues;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public List<String> getSqls() {
        return sqls;
    }

    public void setSqls(List<String> sqls) {
        this.sqls = sqls;
    }

    public List<BatchSetter> getBatchSetters() {
        return batchSetters;
    }

    public void setBatchSetters(List<BatchSetter> batchSetters) {
        this.batchSetters = batchSetters;
    }

    public boolean isMultiValues() {
        return multiValues;
    }

    public void setMultiValues(boolean multiValues) {
        this.multiValues = multiValues;
    }

}
